/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nodes;

/**
 *
 * @author Diego
 */
public class pacote {

    private int sourceid;    /* id of sending router sending this pkt */
    private int destid;      /* id of router to which pkt being sent (must be an immediate neighbor) */
    private int[] mincost;    /* min cost to node 0 ... 3 */

              // comentario do kazuo: esse vetor tem sempre temanho 4, neh? - Eu achei valido.. acho q eh 4 memo neh...
    public pacote(int sourceidParam, int destidParam, int miniCostSize){
        this.sourceid = sourceidParam;
        this.destid = destidParam;
        this.mincost = new int[miniCostSize];
    }


    public int getDestid() {
        return destid;
    }

    public void setDestid(int destid) {
        this.destid = destid;
    }

    public int[] getMincost() {
        return mincost;
    }

    public void setMincost(int[] mincost) {
        this.mincost = mincost;
    }

    public int getSourceid() {
        return sourceid;
    }

    public void setSourceid(int sourceid) {
        this.sourceid = sourceid;
    }

}
